<template>
    <div class="event_dialog">
        <el-dialog class="el-dialog1" title="事件详情" :visible.sync="dialogFormVisible" :modal-append-to-body='false' v-if="dialogFormVisible" @close="close1">
            <div class="event_content flex">
                <div class="event_line">
                    <div class="e_d"></div>
                    <div class="e_l"></div>
                </div>
                <div class="e_d_t ">
                    <div class="e_d_t_t">
                        <span class="sj">事件：</span>
                        <span>这是一个事件标题</span>
                    </div>
                    <div class="e_liucheng">
                        <div class="e_liucheng_c">
                            <span>时间:</span>
                            <span>2020-07-22 08:30</span>
                        </div>
                        <div class="e_liucheng_c">
                            <span>事件状态:</span>
                            <span>待受理</span>
                        </div>
                        <div class="e_liucheng_c">
                            <span>事件网络:</span>

                        </div>
                        <div class="e_liucheng_c">
                            <span>事件来源:</span>
                            <span>文东街道</span>
                        </div>
                        <div class="e_liucheng_c">
                            <span>事件起点:</span>
                            <span>文东街道</span>
                        </div>
                    </div>
                    <div class="e_jianshu">
                        <p>简述:</p>
                        <p class="e_jianshu_t">有人乱到垃圾，还打人</p>
                    </div>
                    <div class="e_img">
                        <img src="../assets/timg (1).jpg" alt="">
                        <img src="../assets/timg (2).jpg" alt="">
                        <img src="../assets/timg (3).jpg" alt="">
                        <img src="../assets/timg.jpg" alt="">
                    </div>
                </div>
            </div>
            <div class="event_content flex">
                <div class="event_line">
                    <div class="e_d"></div>
                    <div class="e_l"></div>
                </div>
                <div class="e_d_t ">
                    <div class="e_d_t_t">
                        <span class="sj">事件：</span>
                        <span>这是一个事件标题</span>
                    </div>
                    <div class="e_liucheng">
                        <div class="e_liucheng_c">
                            <span>时间:</span>
                            <span>2020-07-22 08:30</span>
                        </div>
                        <div class="e_liucheng_c">
                            <span>事件状态:</span>
                            <span>待受理</span>
                        </div>
                        <div class="e_liucheng_c">
                            <span>事件网络:</span>

                        </div>
                        <div class="e_liucheng_c">
                            <span>事件来源:</span>
                            <span>文东街道</span>
                        </div>
                        <div class="e_liucheng_c">
                            <span>事件起点:</span>
                            <span>文东街道</span>
                        </div>
                    </div>
                    <div class="e_jianshu">
                        <p>简述:</p>
                        <p class="e_jianshu_t">有人乱到垃圾，还打人</p>
                    </div>
                    <div class="e_img">
                        <img src="../assets/timg (1).jpg" alt="">
                        <img src="../assets/timg (2).jpg" alt="">
                        <img src="../assets/timg (3).jpg" alt="">
                        <img src="../assets/timg.jpg" alt="">
                    </div>
                </div>
            </div>
            <div class="event_content flex">
                <div class="event_line">
                    <div class="e_d"></div>
                    <div class="e_l"></div>
                </div>
                <div class="e_d_t ">
                    <div class="e_d_t_t">
                        <span class="sj">事件：</span>
                        <span>这是一个事件标题</span>
                    </div>
                    <div class="e_liucheng">
                        <div class="e_liucheng_c">
                            <span>时间:</span>
                            <span>2020-07-22 08:30</span>
                        </div>
                        <div class="e_liucheng_c">
                            <span>事件状态:</span>
                            <span>待受理</span>
                        </div>
                        <div class="e_liucheng_c">
                            <span>事件网络:</span>

                        </div>
                        <div class="e_liucheng_c">
                            <span>事件来源:</span>
                            <span>文东街道</span>
                        </div>
                        <div class="e_liucheng_c">
                            <span>事件起点:</span>
                            <span>文东街道</span>
                        </div>
                    </div>
                    <div class="e_jianshu">
                        <p>简述:</p>
                        <p class="e_jianshu_t">有人乱到垃圾，还打人</p>
                    </div>
                    <div class="e_img">
                        <img src="../assets/timg (1).jpg" alt="">
                        <img src="../assets/timg (2).jpg" alt="">
                        <img src="../assets/timg (3).jpg" alt="">
                        <img src="../assets/timg.jpg" alt="">
                    </div>
                </div>
            </div>
        </el-dialog>
    </div>
</template>

<script>
export default {
  data() {
    return {
      dialogFormVisible: false
    };
  },
  watch: {
    isShow(val) {
      console.log(val, "李东");
      this.dialogFormVisible = val;
    }
  },
  props: {
    isShow: {
      type: Boolean,
      default: false
    }
  },
  methods: {
    close1() {
      this.$emit("close1", false);
    }
  }
};
</script>
<style lang="scss">
.el-dialog1 {
  background: #01135b;
  width: 45%;
  height: 9.5rem;
  overflow-y: auto;
}
.event_dialog {
  .event_content {
    width: 40%;
    height: auto;
    .event_line {
      .e_d {
        width: 0.26rem;
        height: 0.26rem;
        background: #6cf2f8;
        border-radius: 50%;
      }
      .e_l {
        height: 100%;
        width: 0.1rem;
        background: #6cf2f8;
        margin-left: 0.08rem;
        margin-top: -0.05rem;
      }
    }
    .e_d_t {
      .e_d_t_t {
        background: linear-gradient(
          to right,
          #3587da 0%,
          #02125c 50%,
          #3485d7 100%
        );
        width: 100%;
        height: 0.43rem;
        line-height: 0.43rem;
        border: 1px solid;
        .sj {
          font-size: 0.26rem;
          color: #57d2f4;
        }
        span {
          font-size: 0.2rem;
          color: #57d2f4;
          padding-left: 0.1rem;
        }
      }
      .e_liucheng {
        width: 100%;
        display: flex;
        display: -webkit-flex;
        margin-top: 0.05rem;
        flex-direction: row;
        text-align: center;
        flex-wrap: wrap;
        align-content: flex-start;
        .active {
          font-size: 0.18rem;
          color: #ad6023;
        }
        .e_liucheng_c {
          margin: 0.01rem;
          width: 2.3rem;
          line-height: 0.35rem;
          height: 0.35rem;
          background: #03113d;
          border: 1px solid #123470;
          span {
            font-size: 0.18rem;
            color: #57d2f4;
          }
        }
      }
      .e_jianshu {
        padding-left: 0.22rem;
        font-size: 0.18rem;
        margin-top: 0.11rem;
        color: #57d2f4;

        .e_jianshu_t {
          margin-top: 0.1rem;
        }
      }
      .e_img {
        display: flex;
        width: 5.6rem;
        overflow-x: auto;
        margin-top: 0.1rem;
        img {
          margin-left: 0.1rem;
          width: 1.3rem;
          height: 1.3rem;
        }
      }
    }
  }
}
</style>

